package com.company;


/**
 * @description:
 * @author: Lenovo
 * @date: Crcoted in 2020/05/16 15:13
 * @version:${VERSION}
 * @modified By:
 */
public abstract class Creature {
    private String id;
    private String description;
    private int Hp;
    private Weapon currentWeapon;
    public abstract void useArticle(Weapon weapon, Creature badCreature);

    public Creature() {
    }

    public Creature(String id, String description, int hp) {
        this.id = id;
        this.description = description;
        Hp = hp;
    }

    public Creature(String id, String description, int hp, Weapon currentWeapon) {
        this.id = id;
        this.description = description;
        Hp = hp;
        this.currentWeapon = currentWeapon;
    }

    public Creature(Weapon currentWeapon) {
        this.currentWeapon = currentWeapon;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getHp() {
        return Hp;
    }

    public void setHp(int hp) {
        Hp = hp;
    }

    public Weapon getCurrentWeapon() {
        return currentWeapon;
    }

    public void setCurrentWeapon(Weapon currentWeapon) {
        this.currentWeapon = currentWeapon;
    }
}
